package com.huanguo.dashboard.bean

/**
 * 开关信号 18FF4227
 */
class DashBoardSwitchBean {
    var workUpSwitch = false // 工作部升开关 byte[1] bit[1]
    var workDownSwitch = false // 工作部降开关 byte[1] bit[2]
    var rightUnderlineDownSwitch = false // 右划线杆放下检测信号 byte[2] bit[7]
    var leftUnderlineDownSwitch = false // 左划线杆放下检测信号 byte[2] bit[6]
    var leftUnderlineUpSwitch = false // 左划线杆收起检测信号 byte[6] bit[4]
    var rightUnderlineUpSwitch = false // 右划线杆收起检测信号 byte[6] bit[5]
    var motorLeftSwitch = false // 调平电机左限位检测信号 byte[6] bit[6]
    var motorRightSwitch = false // 调平电机右限位检测信号 byte[6] bit[7]

    override fun toString(): String {
        return "workUpSwitch = $workUpSwitch, workDownSwitch = $workDownSwitch, rightUnderlineDownSwitch = $rightUnderlineDownSwitch, leftUnderlineDownSwitch = $leftUnderlineDownSwitch, leftUnderlineUpSwitch = $leftUnderlineUpSwitch, rightUnderlineUpSwitch = $rightUnderlineUpSwitch"
    }
}